package com.micmac.customer.controller
{
	import com.micmac.customer.interfaces.ICustomerModule;
	import com.micmac.customer.service.CustomerService;
	import com.micmac.customer.view.mediator.CorparationViewMediator;
	import com.micmac.customer.view.CorporationView;
	
	import mx.controls.Alert;
	
	import org.robotlegs.core.IInjector;
	import org.robotlegs.mvcs.Command;
	
	

	public class CustomerController extends Command
	{
		[Inject]
		public var injector1:IInjector;
		
		override public function execute():void
		{
			
			mapModel();
			
		}
		
		private function mapModel():void
		{
			
			mediatorMap.mapView(CorporationView,CorparationViewMediator,CorporationView);
			//injector.mapSingletonOf(ICustomerModule,CustomerService);
			//mediatorMap.registerMediator(CorparationViewMediator);
		}
	}
}